package ${packageName}.service.impl;

import com.unitd.logistics.comm.plugins.mybatis.mapper.BaseMapper;
import com.unitd.logistics.comm.plugins.module.service.impl.BaseServiceImpl;
import ${packageName}.mybatis.mapper.${className}Mapper;
import ${packageName}.service.${className}Service;
import ${packageName}.model.${className};
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ${tableDesc}信息业务逻辑处理接口实现类
 * @filename ${className}ServiceImpl.java
 * @copyright www.pactera.com
 * @author ${author}
 * @version 1.0
 * @date ${date}
 */
@Service
public class ${className}ServiceImpl extends BaseServiceImpl<${className}, Long> implements ${className}Service {

	@Autowired
	private ${className}Mapper ${className?uncap_first}Mapper;

	/**
	 * @return GenericDao实现类
	 * 定义成抽象方法, 由子类实现, 完成dao的注入
	 */
	@Override
	public BaseMapper<${className}, Long> getDao() {
		return ${className?uncap_first}Mapper;
	}
}
